package com.huaxin.hxmoduleworkorder.dto.request;

import com.huaxin.hxmoduleworkorder.dto.request.base.baseMaintenanceOrderOperationReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@NoArgsConstructor
public class MaintenanceOrderReviewReqDto extends baseMaintenanceOrderOperationReqDTO {
    @Schema(description = "主修电工ID", example = "e_001")
    @NotBlank(message = "主修电工ID不能为空")
    @NotEmpty(message = "主修电工ID不能为空")
    private String LeadElectricianId;

    @Schema(description = "电工信息列表")
    private List<MaintenanceOrderElectricianTaskCreateReqDTO> electricians;
}
